import { Avatar } from "@arco-design/web-react"
import { IconDelete, IconUser } from "@arco-design/web-react/icon"
import React from "react"

export const LeoAvatar:React.FC<any> = ({userPortrait, userName ,size}) => {
    return <Avatar onClick={()=>{}} shape='square' size={size} className="cursor-pointer">
      {  userPortrait ? <img src={userPortrait}  /> : <IconUser></IconUser> }
    </Avatar>

}